package org.example.design.designmode.proxy.simpleproxy;

public class BlindDateProxy {

    private PeopleService peopleService;

    public BlindDateProxy(PeopleService pe) {
        this.peopleService = pe;
    }


    public void getExamples() {
        before();
        peopleService.findLove();
        after();
    }

    private void before() {
        System.out.println("系统启动！");
    }

    private void after() {
        System.out.println("双方确认交往！");
    }


}
